package com.learn.gof.afp;

public class AliPayFactory extends PayFactory{

    @Override
    IPay choosePayFun() {
        // 先授权
        super.auth("AliPay");
        return new AliPay();
    }
}
